import { ref } from 'vue'
const clientRegExp = /electron/i

export function useUa() {
  const isClient = ref(false)
  isClient.value = clientRegExp.test(navigator.userAgent)

  return { isClient }
}
